<?php
// +----------------------------------------------------------------------

namespace app\mall\validate;

use think\Validate;

/**
 * 发货仓验证器
 * @package app\mall\validate
 */
class Store extends Validate
{
    // 定义验证规则
    protected $rule = [
		'title|发货仓名称'	=> 'require',
		// 'type|发货仓类型'   	=> 'require',
		'merch|关联商户'   	=> 'require',
        'name|发货人'   		=> 'require',
		'mobile|手机号'   	=> 'require|mobile',
		'province|省份'   	=> 'require',
		'city|城市'   		=> 'require',
		'country|区县'   	=> 'require',
		'address|详细地址'	=> 'require',
    ];
}
